package cn.stylefeng.guns.base.consts;

import com.google.common.collect.HashBasedTable;
import com.google.common.collect.Maps;
import org.apache.commons.compress.utils.Lists;

import java.util.List;
import java.util.Map;

/**
 * 配置的常量
 *
 * @author fengshuonan
 * @date 2019-06-24-12:51
 */
public interface ConfigConstant {

    /**
     * 系统常量的前缀标识
     */
    String SYSTEM_CONSTANT_PREFIX = "GUNS_";

    HashBasedTable<String, String, StringBuffer> TABLE = HashBasedTable.create();

    //    HashBasedTable<String, String, Integer> YI_LOU_COUNT = HashBasedTable.create();
    Map<String, String> YI_LOU_COUNT = Maps.newHashMap();

    String AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36";
    String ACCEPT = "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9";

    HashBasedTable<String, String, StringBuffer> MAP = HashBasedTable.create();

    List<String> DATE_LIST = Lists.newArrayList();


    Map<String, Integer> CODE1 = Maps.newLinkedHashMap();
    Map<String, Integer> CODE2 = Maps.newLinkedHashMap();
    Map<String, Integer> CODE3 = Maps.newLinkedHashMap();
    Map<String, Integer> CODE4 = Maps.newLinkedHashMap();
    Map<String, Integer> CODE5 = Maps.newLinkedHashMap();
    Map<String, Integer> CODE6 = Maps.newLinkedHashMap();
    Map<String, Integer> CODE7 = Maps.newLinkedHashMap();
    Map<String, Integer> CODE8 = Maps.newLinkedHashMap();
}
